import { View , Text} from "@tarojs/components";
import './index.less';
import Taro from "@tarojs/taro";
function List() {
  return<View id="list">
    <View className="headerBox">
      <Text className="back" onClick={()=>{Taro.navigateBack({delta: 1})}}>《</Text>
      <Text className="header">课程分类</Text>
    </View>
    <View className="typeBox">
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=人力资源'
      })}}>人力资源</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=商务'
      })}}>商务</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=市场'
      })}}>市场</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=财务'
      })}}>财务</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=营销'
      })}}>营销</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=科技'
      })}}>科技</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=金融'
      })}}>金融</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=公共关系'
      })}}>公共关系</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=管理'
      })}}>管理</View>
      <View onClick={()=>{Taro.reLaunch({
        url: '/pages/home/index?type=技术'
      })}}>技术</View>
      <View></View>
      <View></View>
    </View>
  </View>;
}
export default List;